<template>
	<view class="message">
		<messagesVue :data="store.message"/>
	</view>
</template>

<script setup>
	import {onMounted} from "vue"
	import messagesVue from "@/components/messages.vue"
	import {useMyStore} from "@/stores/myStore.js"
	const store=useMyStore()
	onMounted(()=>{
		store.getMessage()
	})
</script>

<style lang="scss">
.message{
	width: 100%;
	height: 100%;
	box-sizing: border-box;
	padding: 0 30rpx;
	background-color: #fff;
}
</style>
